<?php

class Game_Controller extends Base_Controller {
  
  public $restful = true;
  public $layout = 'layouts.default';

  public function get_game($gameName) {
    $view = View::make('game.game');
    $game = new Game(null, $gameName);
    $view['gameName'] = $gameName;
    $this->layout->title = $game->title;
    $this->layout->content = $view;
  }
}
?>
